﻿@model IEnumerable<LeadMaster.Models.Sectors>

@{
    ViewBag.Title = "Index";
}

<div class="formbutton" >
    @Html.ActionLink("Add Campaign Type", "Create", null, new { style = "font-family: 'trebuchet MS'; font-size: 14px; letter-spacing: .1em; color: #666666" })
</div>
<div class="spacer"></div>
<table class="listtable contactstable" cellspacing="0" cellpadding="0" style="width: 900px;">
<thead>
    <tr>
        <th class="tableheader">
            <label>Campaign Type</label>
        </th>
        <th class="tableheader">
            <label>Default Introducer Fee</label>
        </th>
        <th class="tableheader">
            <label>Default Client Fee</label>
        </th>
        <th class="tableheader"></th>
    </tr>
</thead>
<tbody>
@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Sector)
        </td>
        <td>
            £@Html.DisplayFor(modelItem => item.DefaultCCFee)
        </td>
        <td>
            £@Html.DisplayFor(modelItem => item.DefaultClientFee)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.SectorID }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.SectorID })
        </td>
    </tr>
}
</tbody>
</table>
